var s = app.HttpRequest('http://www.netobjects.com/update/AutoUpdater.cgi', '', 'Application=Fusion&Version=' + version + '&VersionInfo=' + versionInfo, false, false, true);
app.CloseStatusDialog(0);
if (s.length == 0)
return false;
register(app); // We are online, check whether there is a need to register.
args = s.split(',');
if (args.length < 2)
return false;
app.LatestFusionUpdate = args[0];
app.LatestUpdater = args[1];
if (args.length >= 4)
{
serviceUpdate = args[2] - 0;
hostingUpdate = args[3] - 0;
if (serviceUpdate > app.ServiceUpdate)
app.ServiceUpdate = serviceUpdate;
if (hostingUpdate > app.HostingUpdate)
app.HostingUpdate = hostingUpdate;
}
if (args.length >= 6)
{
serviceViewUpdate = args[4] - 0;
newsUpdate = args[5] - 0;
if (serviceViewUpdate > app.ServiceViewUpdate)
app.ServiceViewUpdate = serviceViewUpdate;
if (newsUpdate > app.NewsUpdate)
app.NewsUpdate = newsUpdate;
}
return true;
}
function checkOnline(title)
{
for (;;)
{
if (checkForUpdate(title))
return true;
if (window.showModalDialog("../InitFusion/Offline.html", 0,